﻿namespace TanzimSaqib.NoBrainer.Sample.DataAccess
{
    using System.Collections.Generic;
    using System;

    public class AccountModel : ModelBase
    {
        public string UserName { get; set; }
        public string Password { get; set; }
        public string Email { get; set; }
        public bool PersistentCookieEnabled { get; set; }
    }

    public partial class Blog : ModelBase
    {
        // Local variable to transfer data from View <> Controller
        public IEnumerable<Post> PostList { get; set; }
    }

    public partial class Post : ModelBase
    {
        public enum StatusEnum
        {
            Draft, Published, Deleted
        }

        // A container for sending data from UI
        public Guid UserId { get; set; }
        public string UserName { get; set; }

        // A comma delimited tag list to hold user input
        // To be mapped to an array of Tag
        public string TagList { get; set; }
    }

    public partial class Tag : ModelBase
    {
    }
}
